Memsource\Service\BlockService S

Total Complexity 24
Dependencies 3
Dependents 3
Total lines 168
Lines of code 106
Logical lines of code 63
Comment lines 6
Methods 13
Properties 4

Methods 13

Method Rating Maintainability Complexity Lines of code
storeBlockFormSubmit()
S
55 4 20
unifyBlockName()
S
62 3 11
getCustomBlocksDump()
S
65 3 8
init()
S
63 2 11
loadBlocksFromDb()
S
62 2 11
deleteBlockFormSubmit()
S
67 2 8
loadBlocksFromFile()
S
67 2 8
isAttributeTranslatable()
S
74 1 4
listBlocks()
S
77 1 4
listPredefinedBlocks()
S
77 1 4
listCustomBlocks()
S
77 1 4
deleteBlocks()
S
72 1 5
insertBlock()
S
67 1 8